package com.kuzan.autocloud.common.model.workflow.configuration.node;

import com.kuzan.autocloud.common.model.Base;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.Table;

/**
 * <p>Description: 流程节点操作者</p>
 *
 * @author kuzank
 */
@Data
@NoArgsConstructor
@Entity
@Table(name = "sys_workflow_node_operator")
public class WorkFlowNodeOperator extends Base {

    @Column(length = 32)
    private String node;
    /**
     * 操作类型
     */
    @Column(length = 32)
    private String operation;

    /**
     * 固定组织 & 人员 & 角色 f -> fixed
     */
    @Lob
    @Column(columnDefinition = "TEXT")
    private String fPerson;
    @Lob
    @Column(columnDefinition = "TEXT")
    private String fRganization;
    @Lob
    @Column(columnDefinition = "TEXT")
    private String fRulegroup;
    /**
     * 表单组织 & 人员 ff -> formfield
     */
    @Column(length = 32)
    private String ffPerson;
    @Column(length = 32)
    private String ffRganization;
    /**
     * groovy 业务脚本找人
     */
    @Lob
    @Column(columnDefinition = "TEXT")
    private String groovyScript;

}
